package com.zzg.springboot.entity;

import java.io.Serializable;

public class Book implements Serializable {
	private Long id;
	private String name;
	private Integer price;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Book() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
